package com.syzg.base.merge.model;

import java.io.Serializable;

public class PersonRole implements Serializable{

	private static final long serialVersionUID = 1L;
	private PersonRoleId id;
    private Role role;
    private Person person;
	public PersonRole(){
    }

    public PersonRole(PersonRoleId id, Role role, Person person){
        this.id = id;
        this.role = role;
        this.person = person;
    }

    public PersonRoleId getId(){
        return id;
    }

    public void setId(PersonRoleId id){
        this.id = id;
    }

    public Role getRole(){
        return role;
    }

    public void setRole(Role role){
        this.role = role;
    }

    public Person getPerson(){
        return person;
    }

    public void setPerson(Person person){
        this.person = person;
    }
}